package com.youlai.boot.system.converter;

import org.mapstruct.Mapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.youlai.boot.system.model.entity.ExamPaper;
import com.youlai.boot.system.model.form.ExamPaperForm;

/**
 * 试卷管理对象转换器
 *
 * @author youlaitech
 * @since 2025-07-04 08:25
 */
@Mapper(componentModel = "spring")
public interface ExamPaperConverter{

    ExamPaperForm toForm(ExamPaper entity);

    ExamPaper toEntity(ExamPaperForm formData);
}